package com.knowledge.business.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.knowledge.common.core.domain.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 关键词对象 t_keywords
 *
 * @author zhaoyk
 * @date 2025-10-21
 */
@Data
@TableName(value = "t_keywords")
public class TKeywords {
    private static final long serialVersionUID = 1L;

    /**
     * $column.columnComment
     */
    @TableId(type = IdType.ASSIGN_ID)
    private String id;
    /**
     * "知识库Id"
     */
    @TableField(value = "documentTypeId")
    private String documentTypeId;
    /**
     * "知识库名称"
     */
    @TableField(value = "documentTypeName")
    private String documentTypeName;
    /**
     * "消息ID，主键，自增"
     */
    @TableField(value = "messageId")
    private Long messageId;
    /**
     * "设备ID"
     */
    @TableField(value = "deviceId")
    private String deviceId;
    /**
     * "会话ID"
     */
    @TableField(value = "sessionId")
    private String sessionId;
    /**
     * "AI扮演的角色ID"
     */
    @TableField(value = "AI扮演的角色ID")
    private Long roleId;
    /**
     * "消息内容"
     */
    @TableField(value = "消息内容")
    private String message;
    /**
     * "消息类型"
     */
    @TableField(value = "messageType")
    private String messageType;
    /**
     * "关键词"
     */
    @TableField(value = "keyWord")
    private String keyWord;
}
